<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body>
	</body>
	<script type="text/javascript">
		function addFullInt(n){
			return n <10?"0"+n:n
		}
		document.writeln(addFullInt(10))
		setInterval(function(){
			let date=new Date()
			let year=date.getFullYear()
			let month = date.getMonth()+1
			let day=date.getDate()
			let hour=date.getHours()
			let minutes=date.getMinutes()
			let seconds=date.getSeconds()

			let str = year+"-"+month+"-"+day+"-"+hour+":"+minutes+":"+seconds
			console.log(str)
		
		},1000)
		
		
		
	</script>
</html>
